/*
 * Diego Zamboni Latance 			344990
 * Fellipe Augusto Ruiz de Souza 	344796
 * 
 */
package ast;

public class ThisExpr extends Expr {

	public ThisExpr(ClassDec currentClass) {
		this.currentClass = currentClass;
	}

	public Type getType() {
		return null;
	}

	public ClassDec getCurrentClass() {
		return currentClass;
	}

	public void genC(PW pw, boolean putParenthesis) {

	}

	public void genKrakatoa(PW pw, boolean putParenthesis) {
		pw.print("this");
	}

	private ClassDec currentClass;

}
